package entity

import "time"

type LinkInfo struct {
	Id         uint64    `gorm:"autoIncrement;column:id"`
	Segment    string    `gorm:"column:segment"`
	JumpLink   string    `gorm:"column:jump_link"`
	ExpiryTime time.Time `gorm:"column:expiry_time"`
	CreateTime time.Time `gorm:"column:create_time"`
}

func (table *LinkInfo) TableName() string {
	return "link_info"
}
